package cn.opopopo.designpatterns.demos.web.InterfaceIsolationPrinciple1;

public class NiceFigureGirl implements INiceFigure {
    private String name;

    public NiceFigureGirl(String name) {
        this.name = name;
    }

    @Override
    public void niceFigure() {
        System.out.println(name + " 身材很好");
    }
}